<?php
declare(strict_types=1);

namespace app\common\enum;

// 预约表单状态
class FormStatus extends EnumBasics
{
    // 预约中
    const IN_PROGRESS = 10;

    // 已到场
    const ARRIVAL = 20;

    // 已取消
    const CANCELLED = 30;

    // 已处理
    const PROCESSED = 40;

    public static function data()
    {
        return [
            self::IN_PROGRESS => [
                'name' => '诉求中',
                'value' => self::IN_PROGRESS,
            ],
            self::ARRIVAL => [
                'name' => '处理中',
                'value' => self::ARRIVAL,
            ],
            self::CANCELLED => [
                'name' => '已终止',
                'value' => self::CANCELLED,
            ],
            self::PROCESSED => [
                'name' => '已处理',
                'value' => self::PROCESSED,
            ],
        ];
    }
}
